notebook: Use gtk_widget_queue_draw()
authorBenjamin Otte <otte@redhat.com>
Wed, 19 Oct 2016 20:46:47 +0000 (22:46 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 27 Oct 2016 03:07:23 +0000 (05:07 +0200)
gtk/gtknotebook.c

index 9e768b10b8edbf3dbd101aa0fbb78dab4550169c..a15ffd89173821c1bf147eafa1ea0aee7f271c9f 100644 (file)
@@ -4733,8 +4733,9 @@ gtk_notebook_redraw_arrows (GtkNotebook *notebook)
             continue;
 
           gtk_notebook_get_arrow_rect (notebook, &rect, i);
-          gdk_window_invalidate_rect (gtk_widget_get_window (GTK_WIDGET (notebook)),
-                                      &rect, FALSE);
+          gtk_widget_queue_draw_area (GTK_WIDGET (notebook),
+                                      rect.x, rect.y,
+                                      rect.width, rect.height);
         }
     }
 }